package com.xhorse.lockplatform.model;

import com.xhorse.lockplatform.comm.model.BaseId;

import java.io.Serializable;
import java.util.Date;

public class XhUsingLog extends BaseId {

    private Integer customerId;

    private String sn;

    private Integer brandId;

    private Integer modelId;

    private Integer vehicleId;

    private Integer keyId;

    private Integer regionId;

    private Integer languageId;

    private Integer remoteTypeInfoId;

    private Integer type;

    private Byte success;

    private String result;

    private String phoneNumber;

    private String ip;

    private String address;

    private Byte terminal;

    private String deviceVersion;

    private String appVersion;

    private String dataVersion;

    private String systemDetail;

    private Byte isSave;

    private Date createAt;

    private Date updateAt;

    private static final long serialVersionUID = 1L;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn == null ? null : sn.trim();
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public Integer getKeyId() {
        return keyId;
    }

    public void setKeyId(Integer keyId) {
        this.keyId = keyId;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getLanguageId() {
        return languageId;
    }

    public void setLanguageId(Integer languageId) {
        this.languageId = languageId;
    }

    public Integer getRemoteTypeInfoId() {
        return remoteTypeInfoId;
    }

    public void setRemoteTypeInfoId(Integer remoteTypeInfoId) {
        this.remoteTypeInfoId = remoteTypeInfoId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Byte getSuccess() {
        return success;
    }

    public void setSuccess(Byte success) {
        this.success = success;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result == null ? null : result.trim();
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber == null ? null : phoneNumber.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Byte getTerminal() {
        return terminal;
    }

    public void setTerminal(Byte terminal) {
        this.terminal = terminal;
    }

    public String getDeviceVersion() {
        return deviceVersion;
    }

    public void setDeviceVersion(String deviceVersion) {
        this.deviceVersion = deviceVersion == null ? null : deviceVersion.trim();
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion == null ? null : appVersion.trim();
    }

    public String getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(String dataVersion) {
        this.dataVersion = dataVersion == null ? null : dataVersion.trim();
    }

    public String getSystemDetail() {
        return systemDetail;
    }

    public void setSystemDetail(String systemDetail) {
        this.systemDetail = systemDetail == null ? null : systemDetail.trim();
    }

    public Byte getIsSave() {
        return isSave;
    }

    public void setIsSave(Byte isSave) {
        this.isSave = isSave;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", customerId=").append(customerId);
        sb.append(", sn=").append(sn);
        sb.append(", brandId=").append(brandId);
        sb.append(", modelId=").append(modelId);
        sb.append(", vehicleId=").append(vehicleId);
        sb.append(", keyId=").append(keyId);
        sb.append(", regionId=").append(regionId);
        sb.append(", languageId=").append(languageId);
        sb.append(", remoteTypeInfoId=").append(remoteTypeInfoId);
        sb.append(", type=").append(type);
        sb.append(", success=").append(success);
        sb.append(", result=").append(result);
        sb.append(", phoneNumber=").append(phoneNumber);
        sb.append(", ip=").append(ip);
        sb.append(", address=").append(address);
        sb.append(", terminal=").append(terminal);
        sb.append(", deviceVersion=").append(deviceVersion);
        sb.append(", appVersion=").append(appVersion);
        sb.append(", dataVersion=").append(dataVersion);
        sb.append(", systemDetail=").append(systemDetail);
        sb.append(", isSave=").append(isSave);
        sb.append(", createAt=").append(createAt);
        sb.append(", updateAt=").append(updateAt);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}